# -*- coding: utf8 -*-

from django.shortcuts import render_to_response
from mainboard.models import *

def homepage(request):
    return render_to_response('base.xhtml')

def houses(request):
    buildings = Building.objects.filter(buildingType=1)
    return render_to_response('test.xhtml', locals())